package com.qfedu.firstpage.service.impl;

import com.qfedu.firstpage.dao.BuserMapper;
import com.qfedu.firstpage.entity.Buser;
import com.qfedu.firstpage.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: WangMengke
 * @date 2021/3/24 20:32
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private BuserMapper buserMapper;


    @Override
    public Buser selectByPrimaryKey(String uphone) {
        return buserMapper.selectByPrimaryKey(uphone);
    }

    @Override
    public int insert(Buser record) {
        return buserMapper.insert(record);
    }
}
